package com.example.administrator.moshuizhu.Activity;

/**
 * Created by Administrator on 2021/1/2.
 */

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.example.administrator.moshuizhu.Bean.Team;
import com.example.administrator.moshuizhu.R;

public class LoginActivity extends AppCompatActivity implements View.OnClickListener{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        findViewById(R.id.btn_dlu).setOnClickListener(this);
        findViewById(R.id.tv_zhuce).setOnClickListener(this);
    }
    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.btn_dlu:
                Intent intent = new Intent(LoginActivity.this,TeamActivity.class);
                startActivity(intent);
                break;
            case R.id.tv_zhuce:
                Intent intent1 = new Intent(LoginActivity.this,registerActivity.class);
                startActivity(intent1);
                break;
        }
    }
}
